SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28a1e1dd453221e72080b8284efa24d66c7eb8ddccfbe4c4c8c6aef396d4419f' 
  AND token = 'pBnJXP8gnP/58eiw08KeJ6E8YNUwwS+kbEVlsyr5JOs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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