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

Query time 0.00031

JSON explain

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