SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '713ab6ceb56a9174ead0c7da1ac2d12c8c79fa9d85c82a6fcb78c33c8a40209b' 
  AND token = 'Ahtf91nXZeaAF/wdAX8Jd7VwaoDgErc4TVGhOVrh7qU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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