SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4cd8873d3a62f648b79c23b40f90e5e11ccb812ee3982414b921144a111208fc' 
  AND token = '/PZVoWOKjCC8FnnDzOOPanGKRK/smqEoNki2TbkYBPs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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