SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b7185c5a2be034643acf9553cb1c60670e4534a8a71436d24c34f97798ca172' 
  AND token = 'lvgnPut6DH+6g7AHbO7SQcrztCQYudCdqZKm7+2od9c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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