SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07eceeeba11bb48647a9757f97665d8bbff020597bb64ed8db6767b53c8c15a8' 
  AND token = 'iWoaJ/KEJjYJ0Z/ut+bA6h4H2TFxCa7Oodm0WNEKv2g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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