SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4db2b0bb8177e0980f68afd275c1231528859360b2fff937ae138090753c43b2' 
  AND token = 'EF+2tH0HjRymadMq8ot4VLXocJCC/D3Q5v/ZBeSCrQ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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