SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77845f3c7684d7397de5cc9337fd9d0cde1457f77a4098885c8bf2aafee39ca0' 
  AND token = 'oMNuYPSiE4ZVSHV3DSBgBw2/LgObRZHqkJK3i1Xl/RM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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