SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1851a397a862bd830cf4b84cda6461310c30d51f2ceee379ab597510e857aa53' 
  AND token = 'T0Sv8dmBVopeIyf3zijig17fa2aNuj95atJW37V3uzM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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