SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f0f12d9a57669ae47360b407b59a340b1e07bb9ec9965fa7fe713c6b068cd31' 
  AND token = 'OSh0b6oW9ffFROtSnFOZvt4gwAL4xuTcr/+HEJyILKk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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