SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a38e802de7923ae5d0d917a905bf8743e25d8092ba02167cb74c8c99d1d2b1ce' 
  AND token = 'CBoCDLMeFvG0WNCbD8lGR87VoEeP+jpNbUCe87HLPHA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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