SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40ea7f6d615c07f42ea9fc556f27b7ebdcb32415a1df150ad419fcf6339c965a' 
  AND token = '9gEXmUY3GIgJdhefzVrlPpfG9wMHwyr1/lFog9npmgA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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