SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7e8c564a06b8438d33b32cbfe29d641a07c7457145615b0fb5bdffb1bceeab4' 
  AND token = 'cYMPzUHQRhcU+/6pqa9+hPeNBRupi8Va+k4bNKDiU2o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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