SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '401db1f10887368e237eb01315574314b2310f3b4162bd85ad0aaf46da31328e' 
  AND token = 'QcvBqaJeWD/GvddELG8u0cbZxq03mJAgwZN+nWVriEo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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