SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '66dccd3374fcfc8cd1e635d02799a3b3f3f43b191782c6ac404e200df72f03b3' 
  AND token = 'yfq0GQ4cr4B8jAwIJqQ/HQHrpA0rCI8mca0NMoH5Qv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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