SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4a28ef8ffbceb9a0cd7897aeea5acdfd9c859e2ee5293b1eefeaaea7103861d' 
  AND token = 'bgNdEYsvd5I1fC53fivkM5rq+nC7OBCZx0tigY2uhzI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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