SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '238ad845779ca5830b6d9db2c26a17c34a812827c24b4039699f71cccf817a02' 
  AND token = 'PRqJkCyngxSK2uGr59zoGpGK4h+KDr5pKafQXsrN/00=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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