SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a0afefb068cb157666ba4a2eb5d75a4f9fdc74f9255580d89e6b3ddbae39a4f' 
  AND token = 'ZwSMm8D1pb9FMiU2HTEnouy03F6Zrb37ctVczrBPMew=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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