SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ea49c31ec35316bef3eff1caa2ba4984017809e4bc2ea84ef4e3c8ce4a3040a' 
  AND token = 'jPqBwBPDATvJk3HPnoew/Pk7JODbBdeTqvk08q1Yh1I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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