SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae9bff0cb6d7a3feab885e4bfb69a514377f88c4a195d2488ea5e271dab800dd' 
  AND token = 'DCnYjm4yKOfokRYJlz4Dj9OideMDkdx4M+i3Jvhy4y8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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