SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c87fa089616474ff1c97c2e5f017d4563f24ccba2118f33637f9a2d458c0ba58' 
  AND token = 'MzSfnYwKBastB1iAo5lE2e5ojwX94y0CLfTY6bkmH10=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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