SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07120823b0b40cc0d95ed510f3059c1b6e8383dfa9c6ea2a58944d6b989e14ed' 
  AND token = 'j6FvYIz5HOuI2XgHmo/LSNSNbYIHpHZqHGlj6ng+eE0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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