SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7651ecbd4d38d45a82065b55f0009d720c55a7b7cf10603eb17c949cc5032d1' 
  AND token = 'T8vO7YNzJEb01X4IM/vJFRlwjuDLbQkgcm4Thk+4t/A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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