SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e0f6e0a5e4285c3ba375bc70feebcde1f60c0d52bdf3687e8be28d7d814e6f17' 
  AND token = 'y8ZT8c2uxQP/KiQflzKw8p80otm9tzGdwtRqzbkLR+s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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