SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10a1874f1f11af273186fc5b5af8785afbb1ae03605bdfb369ba966f756d1e14' 
  AND token = 'AWWVuKGq2+dqF5twSOm6rYgos4HIjozTcPdHNwR10VA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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