SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0242fbc4135c233e2005d2f84b230e45145922288a2d1c0148ff82dc3cfa5d44' 
  AND token = 't7R//1mKO+YHH2rJEQWHqvI+ki/Gin6aRWejBdQ0WLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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