SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c38a5717caf0547b2f19b9f69005f561a423573d88d6671dc713b447950c680' 
  AND token = 'Jw4b7dMh051d/Q58k7b7z7KvKMB2NgrVdBLwWxkCQQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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