SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd05214ff907f804e0e56d6e15d86299551a310682e79a54ede3d16f46bbdf680' 
  AND token = 'i8GlFSJJnN64ew6xhW/iUrczXQhG3fcULPiX14OTcoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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