SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e2d0cf0b387eaba031d3764bed2eaf8d882c9cf347a3b9c9834cf7fb835cb8ec' 
  AND token = '8ZMY3LpG6KV3Glp6/iSXLiZH/3f8VPqPR9tFcSlp6Jg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}