SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '37186afc61caf8310cc4d05921aa87cce7c4fdc7078ea24d74a22d76178ab099' 
  AND token = 'n9QJLVqcrWx2J7a/LhbB8V7lRLfNVBF/Lc4gFRj/Hrg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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