SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e6970e73711c527e2ff888c79bd1ae6b82f22039e36d64b60a2d86300f1d8339' 
  AND token = 'ZkmDBmP7DjkrOM+VsQKt1pTVCYlM7AUJk0j0n3Zv8+o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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